deleteGame function Delete a game from the database. viewmodel.deleteGame(game, confirmMessage) Delete a game from the database. Parameters game {Game} The Game to delete. confirmMessage {String} The message presented to the user in a confirm() dialog. Use in a template like: <span class="destroy-btn" ($click)="deleteGame(., "Are you sure?")"></span>
Use in a template like: